package com.cleaningcloud.erp.api.model;

import com.cleaningcloud.erp.api.domain.ErpCustomer;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * packageName com.cleaningcloud.erp.api.model
 *
 * @author Shaw
 * @version JDK 8
 * @className LoginCustomer
 * @date 2025-03-31
 * @description 客户model
 */
@Data
public class LoginCustomer implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户唯一标识
     */
    private String token;

    /**
     * 客户id
     */
    private Long customerId;

    /**
     * 客户名称
     */
    private String customerName;

    /**
     * 登录时间
     */
    private Long loginTime;

    /**
     * 过期时间
     */
    private Long expireTime;

    /**
     * 登录IP地址
     */
    private String ipaddr;

    /**
     * 登录账号
     */
    private String userName;

    /**
     * 登录密码
     */
    private String passWord;

    /**
     * 折扣
     */
    private BigDecimal discount;

    /**
     * 审批状态(0待审核1已通过2已驳回)
     */
    private Long approveStatus;

    // 客户信息
    private ErpCustomer erpCustomer;
}